package com.goods.business.service;
import com.goods.common.error.BusinessException;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface SupplierServices {
    PageVO<SupplierVO> findSupplierList(Integer pageNum, Integer pageSize, SupplierVO supplierVO);


    void add(SupplierVO supplierVO);

    SupplierVO edit(Long id) throws BusinessException;

    void update(Long id, SupplierVO supplierVO);

    void delete(Long id);

    List<SupplierVO> findAll();
}
